<admintpl file="header" />
</head>
<body class="J_scroll_fixed">
    <div class="wrap js-check-wrap">
        <ul class="nav nav-tabs">
            <li class="active"><a href="#" target="_self">玩家充值游戏币记录</a></li>
        </ul>
        <form class="well form-search" method="get" action="{:U('Tui/Agent/memGmRechargeRecord')}">
            <div class="search_type cc mb10">
                <div class="mb10">
                    <span class="mr20">
                        渠道： 
                        <select class="select_2" name="agent" id="selected_id">
                            <empty name="formget['agent']">
                                <option value="" selected="selected">全部</option>
                            </empty>
                            <notempty name="formget['agent']">
                                <option value="">全部</option>
                            </notempty>
                            <volist name="agents" id="vo">
                                <if condition="$vo.id eq $formget['agent']">
                                    <option value="{$vo.id}" selected="selected">{$vo.user_login}</option>
                                <else />
                                    <option value="{$vo.id}">{$vo.user_login}</option>
                                </if>
                            </volist>
                        </select>
<!--                        渠道账号：
                        <input type="text" name="agentname" style="width: 200px;" value="{$agentname}" placeholder="请输入渠道账号...">
                        &nbsp;&nbsp; 
                        渠道名称：
                        <input type="text" name="nickname" style="width: 200px;" value="{$nickname}" placeholder="请输入渠道名称...">
                        &nbsp;&nbsp;-->
                        <input type="submit" class="btn btn-primary" value="搜索" />
                        <!--<button style="float:right;" class="export_data_as_excel">导出数据为EXCEL文件</button>-->
                        <script>
                        $(".export_data_as_excel").click(function(){
                            var url="{:U('Tui/Agent/export','','')}/ex";
                            window.open(url);
                        });
                    </script>
                    </span>
                </div>
            </div>
        </form>

        <form class="js-ajax-form" action="" method="post">
            <table class="table table-hover table-bordered table-list">
                <thead>
                    <tr> 
                       {$table_header}
                    </tr>
                </thead>
                    {$table_sum}
                    {$table_content}
                				
            </table>
            <div class="pagination">{$Page}</div>
        </form>
    </div>
    <script src="__PUBLIC__/js/common.js"></script>
</body>
</html>